Skip to content

Conversation

kschwab
Copy link
Contributor

@kschwab kschwab commented Sep 14, 2024

Fixes #404.

Adds a config that will ignore unknown CLI args, equivalent to argparse.parse_known_args.

kschwab and others added 2 commits September 17, 2024 06:43
Co-authored-by: hyperlint-ai[bot] <154288675+hyperlint-ai[bot]@users.noreply.github.com>
Co-authored-by: hyperlint-ai[bot] <154288675+hyperlint-ai[bot]@users.noreply.github.com>
@kschwab kschwab mentioned this pull request Sep 17, 2024
@kschwab kschwab marked this pull request as ready for review September 17, 2024 12:54
@hramezani
Copy link
Member

Thanks @kschwab

@hramezani hramezani merged commit 7e7ccdb into pydantic:main Sep 17, 2024
20 checks passed
@kschwab kschwab deleted the cli-ignore-unknown branch September 26, 2024 12:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Ignore unknown sys.argv

2 participants